# KERN_DIR = /home/book/100ask_imx6ull-sdk/Linux-4.9.88
KERN_DIR = /home/book/100ask_imx6ull-sdk/Linux-4.9.88
all: 
	make -C $(KERN_DIR) M=`pwd` modules
	$(CROSS_COMPILE)gcc -o dac_test dac_test.c

clean:
	make -C $(KERN_DIR) M=`pwd` modules clean
	rm -rf modules.order dac_test

obj-m += dac_drv.o